package com.ylr.mqtest;

import com.alibaba.fastjson.JSON;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ylr
 * @version 1.0.0
 * @ClassName MqController.java
 * @Description TODO
 * @createTime 2022年03月18日 18:03:00
 */
@RestController
public class MqController {
    public MqController() {
    }

    @GetMapping({"consumer"})
    public Object ConsumerController() {
        return JSON.toJSON(Consumer.list);
    }
}
